<template>
  <div class="box">
    {{ 1 + 1 }}
  </div>
  <div>
    <button @click="add">计算</button>
  </div>
</template>
<script>
import html2json from '../../libs/html2json.esm.js'
export default {
  data() {
    return {
      a: 1,
      b: 2
    }
  },
  methods: {
    add() {
      console.log(`helloworld`)
      //5 + 4 = 4
      //28 + 25 * 0.75 = 46.75
      //120 / 14 = 8.57
      //0.183
      //10 0.4 + 0.7 + 10 0.71
    }
  },
  mounted() {
    this.add()
  }
}
</script>
<style type="text/css">
.box {
  width: 100px;
  height: 100px;
  border: 1px solid #000;
}
</style>
